<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>内外边距</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        .container{
            width: 600px;
            height: 400px;
            background-color: pink;
            padding: 10px 20px 30px 40px;
            box-sizing: border-box;
            margin: 100px auto;
        }
        .row{
            width: 100%;
            height: 100%;
            background-color: blue;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row">

        </div>
    </div>
</body>
</html>